@import "../pages/index/index.less";

.line {
    background-color: @primary-color;
}

.pcy-scroll-x {
    scrollbar-width: none;
    overflow-x: scroll;
    cursor: grab;
    &::-webkit-scrollbar {
        display: none;
    }
}

.hour-min {
    padding: 0 0.5rem;
    color: #222;
    font-size: 1.2rem;
    font-weight: 500;
}

.my-Approve-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 1rem 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    &:hover {
        background-color: #eee;
    }
    &>.approve-item-card-header {
        color: #fff;
        padding: 0.1rem 0.5rem;
        background-color: #c9c9c9;
    }
    &>.approve-item-card-body {
        padding: 0.5rem 0.5rem;
    }
}

.approve-text-not-primary {
    color: #888;
    font-size: 0.5rem;
}


.calendar {
    margin: 0 0.5rem;
    border-bottom: 2px solid #eee;
    &>.calendar-header {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.6rem;
        &>.calendar-header-item {
            margin: 0 0.2rem;
        }
        &>.right-btn, .left-btn {
            cursor: pointer;
            text-align: center;
            width: 3rem;
            height: 1.5rem;
            line-height: 1.5rem;
        }
    }
    &>.calendar-body {
        &>.calendar-line {
            cursor: grab;
            display: flex;
            justify-content: space-around;
            font-size: 0.8rem;
            font-weight: 400;
            &>.calendar-item {
                box-sizing: border-box;
                line-height: 1.5rem;
                text-align: center;
                width: 1.5rem;
                height: 1.5rem;
            }
            &>.select {
                background-color: @primary-color;
                color: #fff;
                border-radius: 50%;
            }
        }
        &>.calendar-week {
            font-size: 0.6rem;
            color: #888;
        }
    }
}


.time-axis-box {
    box-sizing: border-box;
    margin: 20px 0.5rem;
}

.time-axis-times {
    position: relative;
    .time-axis-times-item {
        width: 100%;
        position: absolute;
        font-size: 0.45rem;
        color: #888;
        border-top: 1px solid #ddd;
    }
}

.time-axis-body {
    display: flex;
    height: 100%;
    border: 1px solid #ddd;
}


.time-data-box {
    position: absolute;
    width: 100%;
    font-size: 0.5rem;
    color: #888;
    border-radius: 10px;
    background-color: #15a7eb6c;
    overflow: hidden;
    word-wrap: break-word;
}